package com.example.wlt.personnel_manegement_system.User.Org;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;

import com.example.wlt.personnel_manegement_system.R;

/**
 * Created by WLT on 2016/4/21.
 */
public class Propa_apply extends Activity {
    private Button btn_back;//返回按钮
    private EditText et_applicant;
    private EditText et_apply_department;
    private Button btn_apply;
    private TextView tv_head;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.u_organization_propaganda_apply);
        btn_back = (Button) findViewById(R.id.btn_org_headleft);
        tv_head = (TextView) findViewById(R.id.tv_top_head);
        et_applicant=(EditText)findViewById(R.id.et_organization_applicant);
        et_apply_department=(EditText)findViewById(R.id.et_organization_apply_department);
        btn_apply=(Button)findViewById(R.id.btn_organization_apply_complete);
        tv_head.setText("部门申请");
        //完成部门申请并返回部门首页
        btn_apply.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(Propa_apply.this, "您已完成部门申请", Toast.LENGTH_SHORT).show();
                finish();
            }
        });
        btn_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
